import { EntityModel } from '@midwayjs/orm';
import { Column } from 'typeorm';
import {LoeeEntity} from '../../../comentity'

/**
 * 描述
 */
@EntityModel('class_teaching')
export class classTeachingEntity extends LoeeEntity {
  
  @Column({ comment: '上课学期' })
  teaching_semester: string;

  @Column({ comment: '课程类型' })
  course_type: number;

  @Column({ comment: '上课课程小节主题' })
  section_theme: number;

  @Column({ comment: '上课老师' })
  teacher: number;

  @Column({ comment: '上课日期' })
  class_date: Date;

  @Column({ comment: '上课班级',nullable: true})
  teaching_class: number;

  @Column({ comment: '课程反思',length:1000,default:'' })
  course_reflection : string;
  // 默认班级扣课
  @Column({ comment: '扣课类型',default:1 })
  class_type : number;
  

  @Column({ comment: '备注',length:1000,nullable: true})
  note: string;
}
